﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FisheryPlatform.Entity
{
    public class TermEntity
    {
        private long _termId;
        /// <summary>
        /// 
        /// </summary> 
        public long TermId
        {
            get { return _termId; }
            set { _termId = value; }
        }

        private string _name;
        /// <summary>
        /// 
        /// </summary> 
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private string _slug;
        /// <summary>
        /// “别名”是对于 URL 友好的一个别称。它通常为小写并且只能包含字母，数字和连字符（-）。
        /// </summary> 
        public string Slug
        {
            get { return _slug; }
            set { _slug = value; }
        }

        private TermTaxonomyEnum _taxonomy;
        /// <summary>
        /// 分类：页面标签、页面类别等等
        /// </summary> 
        public TermTaxonomyEnum Taxonomy
        {
            get { return _taxonomy; }
            set { _taxonomy = value; }
        }

        private string _description;
        /// <summary>
        /// 
        /// </summary> 
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private long _parentId;
        /// <summary>
        /// 
        /// </summary> 
        public long ParentId
        {
            get { return _parentId; }
            set { _parentId = value; }
        }

        private int _count;
        /// <summary>
        /// 
        /// </summary> 
        public int Count
        {
            get { return _count; }
            set { _count = value; }
        }

    }
}
